﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SignAttend.aspx.cs" Inherits="Page_SignAttend" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>签到</title>
    <link type="text/css" rel="Stylesheet" href="../Style/Css/Css.css" />
</head>
<body>
    <form id="form1" runat="server">
    <div style="margin: auto; text-align: center; font-size: 24px;">
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <table>
            <tr>
                <td>
                    用户名:
                </td>
                <td>
                    <asp:TextBox runat="server" ID="tbUser" Font-Size="Large"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    密码:
                </td>
                <td>
                    <asp:TextBox runat="server" ID="tbPwd" TextMode="Password" Font-Size="Large"></asp:TextBox>
                </td>
            </tr>
        </table>
        <asp:Button runat="server" ID="btnSige" Text="签   到" CssClass="Button01" Style="height: 50px;
            width: 200px; font-size: large;" OnClick="btnSige_Click" />
        <asp:Literal runat="server" ID="ltlSign"></asp:Literal>
        <table>
            <tr>
                <td>
                    历史签到日期
                </td>
            </tr>
            <asp:Repeater runat="server" ID="rpList">
                <ItemTemplate>
                    <tr>
                        <td>
                            <%#  DateTime.Parse( Eval("SignTime").ToString()).ToString("yyyy-MM-dd HH:mm") %>
                        </td>
                    </tr>
                </ItemTemplate>
            </asp:Repeater>
        </table>
    </div>
    </form>
</body>
</html>
